//
//  TraderAddManOfStoreViewController.m
//  WGFGlobalHouses
//
//  Created by zhouhui on 15/4/19.
//  Copyright (c) 2015年 waiguofang. All rights reserved.
//  分销商－－门店管理中点击添加挑战到的，添加某个门店的经纪人

#import "TraderAddManOfStoreViewController.h"
#import "TraderMoveManToStoreViewController.h"
#import "AddMiddleManViewController2.h"
#import "TraderManOfStoreCell.h"

@interface TraderAddManOfStoreViewController ()<UITableViewDataSource,UITableViewDelegate>
@property (weak, nonatomic) IBOutlet UITableView *tableView;
- (IBAction)tapMoveBtn;
- (IBAction)tapAddBtn;
//flg = 0,只显示中间的信息部分  ＝1 显示打勾图片  ， ＝2 显示“移动”，“全选”，“启用”等按钮
@property(nonatomic,assign) NSInteger flag;

@end

@implementation TraderAddManOfStoreViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
 
    self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
    self.tableView.rowHeight = 44;
    self.flag = 0;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    return 10;
}

-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    return [TraderManOfStoreCell cellWithTableView:tableView withRow:indexPath.row];
}

-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    [tableView deselectRowAtIndexPath:indexPath animated:YES];
}
- (IBAction)tapMoveBtn {
    
     TraderMoveManToStoreViewController *traderMoveManToStoreVC = [[TraderMoveManToStoreViewController alloc]initWithNibName:@"TraderMoveManToStoreViewController" bundle:nil];
    [self.navigationController pushViewController:traderMoveManToStoreVC animated:YES];
}

- (IBAction)tapAddBtn {
}
@end
